<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>user2</title>
</head>
<body>
<p>Hello {{.Name}}</p>
<p>年龄: {{.Age}}</p>
<p>性别: {{.Male}}</p>
{{$age := .Age}}

{{if gt $age 18}}
<p>成年啦</p>
{{else}}
<p>继续成长</p>
{{end}}
</body>
</html>